﻿using System;
using System.Windows.Forms;
using System.Drawing;

namespace TutorialDoubleBuffering
{
	public class Game
	{
		private Form mainWnd = null;
		private Application app = null;

		public Form MainWnd
		{
			get { return this.mainWnd; }
			set { this.mainWnd = value; }
		}

		public Application App
		{
			get { return this.app; }
			set { this.app = value; }
		}

		public virtual bool Init()
		{
			return true;
		}

		public virtual void Input(int elapsedTime)
		{
		}

		public virtual void UpdateFrame(int elapsedTime)
		{
		}

		public virtual void RenderFrame(Graphics g, int elapsedTime)
		{
		}
	}
}
